namespace Digitalmes.Domain.Entities.Mes.Masters;

/// <summary>
/// 生产车间，包含多条生产线。
/// </summary>
[SugarTable("md_workshop")]
public sealed class MdWorkshop : AuditedEntity, ISoftDelete
{
    /// <summary>
    /// 车间编号
    /// </summary>
    [NotNull]
    public string? WspCode { get; set; }

    /// <summary>
    /// 车间名称
    /// </summary>
    [NotNull]
    public string? WspName { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 启用状态（0->停用，1->启用）
    /// </summary>
    public EnabledStatusEnum Status { get; set; }

    public bool IsDeleted { get; set; }
}
